package project.model.adt;

public class Answer {
	public final long answerID;
	public final long userId;
	public final String description;
	public final long dateAnswered;
	public final long votes;

	public Answer(long answerID, long userId, String description,
			long dateAnswered, long votes) {
		this.answerID = answerID;
		this.userId = userId;
		this.description = description;
		this.dateAnswered = dateAnswered;
		this.votes = votes;
	}

	@Override
	public String toString() {
		return "Answer [answerID=" + answerID + ", userId=" + userId
				+ ", description=" + description + ", dateAnswered="
				+ dateAnswered + ", votes=" + votes + "]";
	}

}
